package com.tech.service.impl;

import com.tech.mapper.PortDao;
import com.tech.mapper.factory.DaoImplFactory;
import com.tech.repository.entity.Port;
import com.tech.service.PortService;

import java.util.List;

public class PortServiceImpl implements PortService {
	private PortDao portDao = DaoImplFactory.getPortDao();

	@Override
	public List<Port> getRecentPorts() {
		return portDao.getRecentPorts(4);
	}
}
